package cn.wolfcode.shop.server.service.impl;

import cn.wolfcode.shop.api.domain.ProductDesc;
import cn.wolfcode.shop.api.service.IProductDescService;
import cn.wolfcode.shop.server.mapper.ProductDescMapper;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by A on 2018/1/5.
 */
@Service
public class ProductDescServiceImpl implements IProductDescService {

    @Autowired
    private ProductDescMapper productDescMapper;


    @Override
    public ProductDesc getDesc(Long productId) {
        return productDescMapper.getDesc(productId);
    }
}
